/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.boton-sesion {
  margin-left: auto; /* Esto lo empuja totalmente a la derecha */
}
.boton-sesion button {
  padding: 10px 18px;
  background: linear-gradient(145deg, #3b82f6, #2563eb);
 background: #2563eb; /* <-- Fallback si falla el gradiente */
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}


.boton-sesion button:hover {
  transform: scale(1.05);
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
}

/* Pantalla de carga completa */
#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000c1a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

/* Loader container */
.container {
  position: relative;
}

/* Loader animación */
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 100px;
  margin-left: -80px;
  margin-top: -50px;
  border-radius: 5px;
  background: #1e3f57;
  animation: dot1_ 3s cubic-bezier(0.55, 0.3, 0.24, 0.99) infinite;
}

.loader:nth-child(2) {
  z-index: 1;
  width: 150px;
  height: 90px;
  margin-top: -45px;
  margin-left: -75px;
  border-radius: 3px;
  background: #3c517d;
  animation-name: dot2_;
}

.loader:nth-child(3) {
  z-index: 2;
  width: 40px;
  height: 20px;
  margin-top: 50px;
  margin-left: -20px;
  border-radius: 0 0 5px 5px;
  background: #6bb2cd;
  animation-name: dot3_;
}

/* Animaciones */
@keyframes dot1_ {
  3%, 97% {
    width: 160px;
    height: 100px;
    margin-top: -50px;
    margin-left: -80px;
  }
  30%, 36% {
    width: 80px;
    height: 120px;
    margin-top: -60px;
    margin-left: -40px;
  }
  63%, 69% {
    width: 40px;
    height: 80px;
    margin-top: -40px;
    margin-left: -20px;
  }
}

@keyframes dot2_ {
  3%, 97% {
    height: 90px;
    width: 150px;
    margin-left: -75px;
    margin-top: -45px;
  }
  30%, 36% {
    width: 70px;
    height: 96px;
    margin-left: -35px;
    margin-top: -48px;
  }
  63%, 69% {
    width: 32px;
    height: 60px;
    margin-left: -16px;
    margin-top: -30px;
  }
}

@keyframes dot3_ {
  3%, 97% {
    height: 20px;
    width: 40px;
    margin-left: -20px;
    margin-top: 50px;
  }
  30%, 36% {
    width: 8px;
    height: 8px;
    margin-left: -5px;
    margin-top: 49px;
    border-radius: 8px;
  }
  63%, 69% {
    width: 16px;
    height: 4px;
    margin-left: -8px;
    margin-top: -37px;
    border-radius: 10px;
  }
}


/* ===== Banners ===== */

/* --- BANNER AZUL: imagen a la izquierda, texto centrado --- */
.banner-azul {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  background-color: #0047AB;
  color: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
}
.banner-azul {
  background-color: #0047AB;
  padding: 30px;
}

.contenido-banner-oscuro {
  background-color: #002e6d; /* azul más oscuro */
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
}

.contenido-banner-oscuro .icono {
  height: 50px;
}

.contenido-banner-oscuro .usd {
  font-size: 24px;
  font-weight: bold;
}

.contenido-banner-oscuro .texto {
  font-size: 18px;
  font-weight: bold;
}

/* --- BANNER NARANJA: menú más a la izquierda --- */

.banner-naranja {
  position: fixed;
  top:90px; /* justo debajo del banner azul */
  width: 100%;
  height: 60px;
  background-color: rgb(255, 175, 0);
  z-index: 9998;
  display: flex;
  align-items: center;
  padding-left: 20px;
  box-sizing: border-box;
  font-weight: bold;
}

.banner-naranja .icono {
  height: 40px;
}

.banner-naranja ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: 10px;
}

.banner-naranja li {
  margin: 0;
}

.banner-naranja a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.banner-naranja a:hover {
  text-decoration: underline;
}


/* ===== Header catálogo ===== */
.catalogo-header {
  margin: 140px;
  padding: 40px 20px 20px;
  text-align: center;
  background: linear-gradient(135deg, #004080, #1a75ff);
  color: white;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 5px 15px rgb(0 75 150 / 0.5);
  margin-bottom: 30px;
}

.catalogo-header h1 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
  user-select: none;
}

/* Filtros */
.filtros {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filtros button {
  background-color: #ff6600;
  border: none;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255,102,0,0.7);
  transition: background-color 0.4s ease, transform 0.3s ease;
  user-select: none;
}

.filtros button:hover {
  background-color: #cc5200;
  transform: scale(1.05);
}

/* ===== Catálogo Grid ===== */
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 70px auto;
  padding: 0 20px;
}

/* Producto */
.producto {
  background: linear-gradient(145deg, #e0e7ff, #ffffff);
  border-radius: 24px;
  box-shadow:
    4px 4px 8px rgba(0,0,0,0.1),
    -4px -4px 12px #ffffff;
  padding: 20px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  user-select: none;
}

.producto:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow:
    8px 8px 16px rgba(0,0,0,0.15),
    -8px -8px 20px #f0f5ff;
}

.producto img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 18px;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,0.1));
}

.producto h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #003366;
  margin-bottom: 8px;
}

.producto p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 14px;
  min-height: 44px;
}

.producto .precio {
  color: #ff6600;
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.producto button {
  background-color: #004080;
  border: none;
  padding: 14px 28px;
  border-radius: 40px;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 6px 15px rgb(0 64 128 / 0.6);
  transition: background-color 0.4s ease, transform 0.3s ease;
  cursor: pointer;
}

.producto button:hover {
  background-color: #00264d;
  transform: scale(1.1);
}

/* ===== Carrito ===== */
.carrito {
  position: fixed;
  top: 140px;
  right: 20px;
  width: 260px;
  max-height: 320px;
  background: linear-gradient(135deg, #004080, #003366);
  color: white;
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: 0 8px 24px rgb(0 48 96 / 0.8);
  z-index: 1100;
  overflow-y: auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
}

.carrito h4 {
  font-weight: 900;
  font-size: 1.6rem;
  margin-bottom: 18px;
  border-bottom: 2px solid #ff6600;
  padding-bottom: 6px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

.carrito ul {
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 18px;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #ff6600 transparent;
}

.carrito ul::-webkit-scrollbar {
  width: 6px;
}

.carrito ul::-webkit-scrollbar-thumb {
  background-color: #ff6600;
  border-radius: 4px;
}

.carrito ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

.btn-eliminar {
  background: none;
  border: none;
  color: #ff3300;
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.25s ease;
  padding-left: 12px;
  user-select: none;
}

.btn-eliminar:hover {
  color: #cc0000;
  transform: scale(1.2);
}

.carrito p {
  font-weight: 900;
  font-size: 1.35rem;
  text-align: right;
  margin-top: 5px;
  color: #ffcc66;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* ===== Footer ===== */
.footer {
  background-color: #00264d;
  color: white;
  text-align: center;
  padding: 18px 10px;
  font-size: 0.9rem;
  margin-top: 70px;
  user-select: none;
  box-shadow: inset 0 4px 10px rgb(255 102 0 / 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 650px) {
  .banner-naranja ul {
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
  }

  .carrito {
    width: 90%;
    max-height: 280px;
    top: auto;
    bottom: 14px;
    right: 50%;
    transform: translateX(50%);
  }

  .catalogo-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .filtros button {
    padding: 12px 22px;
    font-size: 1rem;
  }

  .btn-pagar {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s;
  }

  .btn-pagar:hover {
    background-color: #45a049;
  }

  
  

    }
    .boton-ws {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.boton-ws:hover {
  transform: scale(1.1);
}

.boton-ws img {
  width: 35px;
  height: 35px;
}

.footer {
  background-color: #0b2545;
  color: #f0f4f8;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-logo {
  max-width: 140px;
  margin-bottom: 15px;
}

.footer-column h4 {
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #f0f4f8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #17a2b8;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-icons .icon {
  display: inline-block;
  background-color: #1c3d66;
  color: white;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.social-icons .icon:hover {
  background-color: #17a2b8;
}

.footer-seal {
  max-width: 80px;
  margin-top: 15px;
  display: block;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #1c3d66;
  padding-top: 15px;
  font-size: 13px;
  color: #a0a7b2;
}

/* RGB Text Animation */
@keyframes rgbFlow {
  0% { color: #ff4d4d; }
  25% { color: #ffcc00; }
  50% { color: #00cc66; }
  75% { color: #3399ff; }
  100% { color: #ff4d4d; }
}

.rgb-text {
  animation: rgbFlow 6s infinite ease-in-out;
}

.rgb-link {
  animation: rgbFlow 6s infinite ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {

  .footer-container {
    flex-direction: column;
    gap: 30px;
 }

 